package com.zhongkun.datahome.service.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 项目对象 project
 * 
 * @author ruoyi
 * @date 2025-04-14
 */
@Data
public class HouseServerRelation extends BaseEntity {
    @ApiModelProperty("房产id")
    private Long houseId;
   
    @ApiModelProperty("服务人员tenantUserId")
    private Long serverUserId;

    public static HouseServerRelation of(Long houseId, Long serverUserId) {
        HouseServerRelation houseServerRelation = new HouseServerRelation();
        houseServerRelation.setHouseId(houseId);
        houseServerRelation.setServerUserId(serverUserId);
        return houseServerRelation;
    }
}
